package com.geovis.emergency.spd.entity.pc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.emergency.spd.entity.basic.entity.BaseSpdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 应急预案指挥模块-演练表
 * </p>
 *
 * @author 曾德实
 * @since 2022-04-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pc_drill")
@ApiModel(value = "PcDrill对象", description = "应急预案指挥模块-演练表")
public class PcDrill extends BaseSpdEntity {

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("计划开始时间")
    private LocalDateTime planStartTime;

    @ApiModelProperty("计划结束时间")
    private LocalDateTime planEndTime;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty("纬度")
    private String latitude;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("状态（1-待启动，2-执行中 3-已完成）")
    private String status;

    @ApiModelProperty(value = "所属区域（行政区划编码）")
    @TableField(fill = FieldFill.INSERT)
    private String regionCode;

    @ApiModelProperty(value = "演练类型（1-应急指挥，2-预案推演）")
    private String drillType;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("关联预案")
    private String pcPlanId;

    @ApiModelProperty("是否暂停")
    private String isPause;

    @ApiModelProperty(value = "科大推送id",hidden = true)
    private String pushId;

    @ApiModelProperty("演练原则")
    private String rules;

    @ApiModelProperty("演练目的")
    private String goal;


}
